<template>
	<view class="shop-all">
		<view class="shop-item">
				<image class="shop-big" src="../../static/Carousel/1.jpg" mode=""></image>
				<scroll-view class="scroll-con" scroll-x="true">
					<view class="scroll-item">
						<commodityVue 
						:dataList="shopList"
						wrap="nowrap"
						itemW="230rpx"
						bigH="250rpx"
						></commodityVue>
					</view>
				</scroll-view>
		</view>
	</view>
</template>

<script>
	
	import commodityVue from "../common/commodity.vue"
	export default{
		data(){
			return{
					shopList:[
						{
							id:"1",
							imgUrl:"../../static/images/鞋子1.jpg",
							name:"鞋子爆款2024，鞋子男,回力鞋子男款2024新款秋季厚底板鞋小众原创高级感潮牌百搭休闲鞋",
							p_price:"￥299",
							o_prict:"￥599",
							discount:"4.9折"
						},
						{
							id:"2",
							imgUrl:"../../static/images/鞋子2.jpg",
							name:"国货品牌联名男鞋2024秋款新款男士休闲百搭秋冬小白板鞋运动潮鞋",
							p_price:"￥113",
							o_prict:"￥128",
							discount:"8.8折"
						},
						{
							id:"3",
							imgUrl:"https://gw.alicdn.com/imgextra/i3/1773748534/O1CN01AlTq5B2Cud0zUvhLU_!!1773748534.jpg",
							name:"PtonUmi 奶盐咸桃少女感爱心提花针织开衫女秋冬短款宽松毛衣外套",
							p_price:"￥168",
							o_prict:"￥178",
							discount:"9.4折"
						},
						{
							id:"4",
							imgUrl:"../../static/images/鞋子1.jpg",
							name:"鞋子爆款2024，鞋子男,回力鞋子男款2024新款秋季厚底板鞋小众原创高级感潮牌百搭休闲鞋",
							p_price:"￥299",
							o_prict:"￥599",
							discount:"4.9折"
						},
						{
							id:"5",
							imgUrl:"../../static/images/鞋子2.jpg",
							name:"国货品牌联名男鞋2024秋款新款男士休闲百搭秋冬小白板鞋运动潮鞋",
							p_price:"￥113",
							o_prict:"￥128",
							discount:"8.8折"
						},
						{
							id:"6",
							imgUrl:"https://gw.alicdn.com/imgextra/i3/1773748534/O1CN01AlTq5B2Cud0zUvhLU_!!1773748534.jpg",
							name:"PtonUmi 奶盐咸桃少女感爱心提花针织开衫女秋冬短款宽松毛衣外套",
							p_price:"￥168",
							o_prict:"￥178",
							discount:"9.4折"
						}
					]
			}
		},
		components:{
			commodityVue
		}
	}
</script>

<style scoped> 
	.shop-big{
		width: 100%;
		height: 350rpx;
	}
	.scroll-con{
		width: 100%;
		white-space: nowrap;
	}
	.scroll-item{
		display: inline-block;
		width: 300rpx;
		height: 300rpx;
	}
</style>